RTL8139C(L)
2002/01/10
Rev.1.4
1
REALTEK 3.3V SINGLE CHIP
FAST ETHERNET CONTROLLER
WITH POWER MANAGEMENT
RTL8139C(L)
1. Features:.................................................................. 2
2. General Description................................................ 3
3. Block Diagram ........................................................ 4
4. Pin Assignments...................................................... 5
5. Pin Descriptions ...................................................... 6
5.1 Power Management/Isolation Interface .............. 6
5.2 PCI Interface....................................................... 6
5.3 FLASH/EEPROM Interface ............................... 8
5.4 Power Pins .......................................................... 9
5.5 LED Interface ..................................................... 9
5.6 Attachment Unit Interface .................................. 9
5.7 Test and Other Pins............................................. 9
6. Register Descriptions............................................ 10
6.1 Receive Status Register in Rx packet header.... 12
6.2 Transmit Status Register................................... 13
6.3 ERSR: Early Rx Status Register....................... 14
6.4 Command Register ........................................... 14
6.5 Interrupt Mask Register .................................... 15
6.6 Interrupt Status Register ................................... 15
6.7 Transmit Configuration Register ...................... 16
6.8 Receive Configuration Register........................ 17
6.9 9346CR: 93C46 (93C56) Command Register ......... 19
6.10 CONFIG 0: Configuration Register 0............. 20
6.11 CONFIG 1: Configuration Register 1............. 21
6.12 Media Status Register ..................................... 22
6.13 CONFIG 3: Configuration Register3.............. 22
5.14 CONFIG 4: Configuration Register4.............. 24
6.15 Multiple Interrupt Select Register..................... 25
6.16 PCI Revision ID.............................................. 25
6.17 Transmit Status of All Descriptors (TSAD) Register......... 25
6.18 Basic Mode Control Register.......................... 26
6.19 Basic Mode Status Register ............................ 26
6.20 Auto-negotiation Advertisement Register.............. 27
6.21 Auto-Negotiation Link Partner Ability Register............... 27
6.22 Auto-negotiation Expansion Register .............. 28
6.23 Disconnect Counter ........................................ 28
6.24 False Carrier Sense Counter ........................... 28
6.25 NWay Test Register........................................ 28
6.26 RX_ER Counter.............................................. 29
6.27 CS Configuration Register.............................. 29
6.28 Flash Memory Read/Write Register ........................ 29
6.29 Config5: Configuration Register 5 ................. 30
6.30 Function Event Register ................................. 31
6.31 Function Event Mask Register........................ 31
6.32 Function Present State Register ...................... 32
6.33 Function Force Event Register ....................... 32
7. EEPROM Contents .............................................. 33
7.1 Summary of EEPROM Registers ............................. 35
7.2 Summary of EEPROM Power Management Registers....... 35
8. PCI Configuration Space Registers..................... 36
8.1 PCI Configuration Space Table ........................ 36
8.2 PCI Configuration Space Functions.................. 37
8.3 Default Values After Power-on (RSTB asserted)...... 42
8.4 PCI Power Management Functions .................. 43
8.5 Vital Product Data (VPD)................................. 45
9. Functional Description ......................................... 46
9.1 Transmit Operation ........................................... 46
9.2 Receive Operation............................................. 46
9.3 Line Quality Monitor ........................................ 46
9.4 Clock Recovery Module ................................... 46
9.5 Loopback Operation ......................................... 46
9.6 Tx Encapsulation .............................................. 46
9.7 Collision............................................................ 46
9.8 Rx Decapsulation.............................................. 47
9.9 Flow Control..................................................... 47
9.9.1. Control Frame Transmission..................... 47
9.9.2. Control Frame Reception.......................... 47
9.10 LED Functions................................................ 47
9.10.1 10/100 Mbps Link Monitor...................... 47
9.10.2 LED_RX .................................................. 48
9.10.3 LED_TX .................................................. 48
9.10.4 LED_TX+LED_RX................................. 49
10. Application Diagram .......................................... 50
11. Electrical Characteristics ................................... 51
11.1 Temperature Limit Ratings ............................. 51
11.2 DC Characteristics .......................................... 51
11.2.1 Supply Voltage ........................................ 51
11.3 AC Characteristics .......................................... 52
11.3.1 FLASH/BOOT ROM Timing .................. 52
11.3.2 PCI Bus Operation Timing: ..................... 54
12. Mechanical Dimensions...................................... 60
RTL8139C(L)
2002/01/10
Rev.1.4
2
1. Features
128 pin QFP/LQFP
Integrated Fast Ethernet MAC, Physical chip and
transceiver in one chip
10 Mb/s and 100 Mb/s operation
Supports 10 Mb/s and 100 Mb/s N-way
Auto-negotiation operation
PCI local bus single-chip Fast Ethernet controller
Compliant to PCI Revision 2.2
Supports PCI clock 16.75MHz-40MHz
Supports PCI target fast back-to-back transaction
Provides PCI bus master data transfers and PCI memory
space or I/O space mapped data transfers of
RTL8139C(L)'s operational registers
Supports PCI VPD (Vital Product Data)
Supports ACPI, PCI power management
Supports CardBus. The CIS can be stored in 93C56 or
expansion ROM
Supports up to 128K bytes Boot ROM interface for both
EPROM and Flash memory
Supports 25MHz crystal or 25MHz OSC as the internal
clock source. The frequency deviation of either crystal or
OSC must be within 50 PPM.
Compliant to PC99 standard
Supports Wake-On-LAN function and remote wake-up
(Magic Packet*, LinkChg and Microsoft
wake-up
frame)
Supports 4 Wake-On-LAN (WOL) signals (active high,
active low, positive pulse, and negative pulse)
Supports auxiliary power-on internal reset, to be ready
for remote wake-up when main power still remains off
Supports auxiliary power auto-detect, and sets the
related capability of power management registers in PCI
configuration space.
Includes a programmable, PCI burst size and early
Tx/Rx threshold.
Supports a 32-bit general-purpose timer with the
external PCI clock as clock source, to generate
timer-interrupt
Contains two large (2Kbyte) independent receive and
transmit FIFO's
Advanced power saving mode when LAN function or
wakeup function is not used
Uses 93C46 (64*16-bit EEPROM) or 93C56
(128*16-bit EEPROM) to store resource configuration,
ID parameter, and VPD data. The 93C56 can also be
used to store the CIS data structure for CardBus
application.
Supports LED pins for various network activity
indications
Supports digital and analog loopback capability on both
ports
Half/Full duplex capability
Supports Full Duplex Flow Control (IEEE 802.3x)
3.3V power supply with 5V tolerant I/Os.
* Third-party brands and names are the property of their
respective owners.
Note: The model number of the QFP package is RTL8139C. The LQFP package model number is RTL8139CL.
RTL8139C(L)
2002/01/10
Rev.1.4
3
2. General Description
The Realtek RTL8139C(L) is a highly integrated and cost-effective single-chip Fast Ethernet controller that provides 32-bit
performance, PCI bus master capability, and full compliance with IEEE 802.3u 100Base-T specifications and IEEE 802.3x Full
Duplex Flow Control. It also supports Advanced Configuration Power management Interface (ACPI), PCI power management
for modern operating systems that are capable of Operating System Directed Power Management (OSPM) to achieve the most
efficient power management possible. The RTL8139CL is suitable for applications such as CardBus or mobile devices with a
built-in network controller. The CIS data can be stored in either a 93C56 EEPROM or expansion ROM.
In addition to the ACPI feature, the RTL8139C(L) also supports remote wake-up (including AMD Magic Packet, LinkChg, and
Microsoft wake-up frame) in both ACPI and APM environments. The RTL8139C(L) is capable of performing an internal reset
through the application of auxiliary power. When auxiliary power is on and the main power remains off, the RTL8139C(L) is
ready and waiting for the Magic Packet or Link Change to wake the system up. Also, the LWAKE pin provides 4 different output
signals including active high, active low, positive pulse, and negative pulse. The versatility of the RTL8139C(L) LWAKE pin
provides motherboards with the Wake-On-LAN (WOL) function. The RTL8139C(L) also supports Analog Auto-Power-down,
that is, the analog part of the RTL8139C(L) can be shut down temporarily according to user requirements or when the
RTL8139C(L) is in a power down state with the wakeup function disabled. In addition, when the analog part is shut down and
the IsolateB pin is low (i.e. the main power is off), then both the analog and digital parts stop functioning and power consumption
of the RTL8139C(L) will be negligible. The RTL8139C(L) also supports an auxiliary power auto-detect function, and will
auto-configure related bits of their own PCI power management registers in PCI configuration space.
The PCI Vital Product Data (VPD) is also supported to provide the information that uniquely identifies hardware (i.e., the
RTL8139C(L) LAN card). The information may consist of part number, serial number, and other detailed information.
To provide cost down support, the RTL8139C(L) is capable of using a 25MHz crystal or OSC as its internal clock source.
The RTL8139C(L) keeps network maintenance costs low and eliminates usage barriers. It is the easiest way to upgrade a
network from 10 to 100Mbps. It also supports full-duplex operation, making 200Mbps bandwidth possible at no additional cost.
To improve compatibility with other brands' products, the RTL8139C(L) is also capable of receiving packets with
InterFrameGap no less than 40 Bit-Time. The RTL8139C(L) is highly integrated and requires no "glue" logic or external
memory. It includes an interface for a boot ROM and can be used in diskless workstations, providing maximum network security
and ease of management.